<style>
    .left-label{
        text-align: left;
        width: 75px;
        margin-left: 0px;
    }
    .input-sm{
        width:200px ;
        display: inline;
        height: 30px;
    }
    .input-md{
        width: 300px;
        display: inline;
        height: 30px;
    }
    .input-lg{
        width: 530px;
        display: inline;
        height: 30px;
    }
    .idiv{
        margin: 0;
        padding: 0;
    }
</style>
<div class="smart-widget col-sm-12 ">
    {#<div class="smart-widget-header">#}
        {#<label>添加用户信息</label>#}
    {#</div>#}
    <div class="smart-widget-inner">

        <div class="smart-widget-body">
            <form id="form" class="form form-horizontal" method="post" action="{{ url ('customer/addCustomer')}}" >
                <div class="form-group" style="display: none">
                    <label class="control-label col-sm-3 left-label">ID：</label>
                    <div class="col-sm-9" style="float: right">
                        <input type="text" class="form-control" name="iCUId" id="iCUId">
                    </div>
                </div><!-- /form-group -->
                <div class="form-group" style=" margin-left:10px;margin-bottom: 0px;">
                    <div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class=" left-label">学校名称</label>
                        <input type="text" class="form-control input-sm" name="sSchoolName"  must="true" id="sSchoolName"  >
                    </div>
                    {#<div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">#}
                        {#<label class="left-label">学校编号</label>#}
                        {#<input type="number" class="form-control input-sm"   name='iSchoolId' id='iSchoolId' >#}
                    {#</div>#}
                    <div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class="left-label">介绍人姓名</label>
                        <input type="text" class=" form-control input-sm" name="sIntroName"  >
                    </div>
                </div><!-- /form-group -->
                <div class="form-group" style="margin-left:10px;margin-bottom: 0px;">
                    <div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class=" left-label">学校类型</label>
                        <select type="text" class=" form-control input-sm " name="iType"  > 
                            <option value="" style="display: none" selected>请选择</option> 
                            {% for id,text in iType %}
                                <option value="{{ id }}">{{ text }}</option>
                            {% endfor %}
                        </select> 
                    </div>
                    <div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class=" left-label">学校等级</label>
                        <select type="text" class=" form-control input-sm" name="iLevel"  > 
                            <option value=""  style="display: none" selected>请选择</option> 
                            {% for id,level in ilevel %}
                                <option value="{{ id }}">{{ level }}</option>
                            {% endfor %}

                        </select>
                    </div>
                    <div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class=" left-label">办校时间</label>
                        <input type="text" name="tSchoolDate"  must="true" class="form-control input-sm form_datetime"  >
                    </div>
                </div><!-- /form-group -->
                {#<div class="form-group" style="margin-left:10px;margin-bottom: 0px">#}
                    {#<div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">#}
                        {#<label class="left-label">介绍人姓名</label>#}
                        {#<input type="text" class=" form-control input-sm" name="sIntroName"  >#}
                    {#</div>#}

                {#</div><!-- /form-group -->#}
                <div class="form-group" style="margin-left:10px;margin-bottom: 0px">
                    <div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class="left-label">组别</label>
                        <select type="text" class="form-control input-sm" name="iGroupId" id="iGroupId" >
                            <option value="" style="display: none" selected>请选择</option> 
                            {% for id,gid in iGroupId %}
                                <option value="{{ id }}">{{ gid }}</option>
                            {% endfor %}
                        </select>
                    </div>
                    <div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class=" left-label">市场负责人</label>
                        <select type="text" class=" form-control input-sm"  name="iMarketId">
                            <option value="" selected style="display: none;">请选择</option>
                            {% for id,text in iMarketIds %}
                                <option value="{{ id }}">{{ text }}</option>
                            {% endfor %}
                        </select>
                        {#<input type="text"   name="sMarketName"  >#}
                    </div>
                    <div class="col-xs-6 col-sm-4" style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class=" left-label">运营负责人</label>
                        {#<input type="text" class="form-control input-sm"name="sOperationName"   >#}
                        <select type="text" class=" form-control input-sm"  name="iOperateId">
                            <option value="" selected style="display: none;">请选择</option>
                            {% for id,text in iOperateIds %}
                                <option value="{{ id }}">{{ text }}</option>
                            {% endfor %}
                        </select>
                    </div>

                </div><!-- /form-group -->
                <div class="form-group" style="margin-left:10px;margin-bottom: 0px">
                    <div class="col-xs-6 col-sm-4"  style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class=" left-label">所在省</label>
                        <select id="provinceSelect" class="form-control input-sm select2" style="height: 28px;" name="sProvinceName"></select>
                    </div>
                    <div class="col-xs-6 col-sm-4"  style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class=" left-label">所在市</label>
                        <select id="citySelect" class="form-control input-sm select2" style="height: 28px;" name="sCityName"></select>
                    </div>
                    <div class="col-xs-6 col-sm-4"  style="display: inline;padding: 15px 0px 0px 0px;">

                        <label class=" left-label">所在区</label>
                        <select id="countrySelect" class="form-control input-sm select2" style="height: 28px;" name="sCountyName"></select>
                    </div>

                </div><!-- /form-group -->
                <div class="form-group" style="margin-left: 10px;margin-bottom: 0px">
                    <div class="col-xs-6 col-sm-4"  style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class="left-label">已签协议</label>
                        <select type="text" class="form-control input-sm" name="bAgree" id="bAgree" >
                            <option value="" style="display: none" selected>请选择</option> 
                            <option value="0">否</option> 
                            <option value="1">是</option> 
                        </select>
                    </div>
                    <div class="col-xs-6 col-sm-4"  style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class="left-label">是否公益</label>
                        <select type="text" class="form-control input-sm" name="bWelfare" id="bWelfare" >
                            <option value="" style="display: none" selected>请选择</option> 
                            <option value="0">否</option> 
                            <option value="1">是</option> 
                        </select>
                    </div>
                    <div class="col-xs-6 col-sm-4"  style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class="left-label">教辅等级</label>
                        <select type="text" class="form-control input-sm" name="iAidsLevel" id="iAidsLevel" >
                            <option value="" style="display: none" selected>请选择</option> 
                            {% for id,text in iAidsLevel %}
                                <option value="{{ id }}">{{ text }}</option>
                            {% endfor %}
                        </select>
                    </div>

                </div>
                <div class="form-group" style="margin-left:10px;margin-bottom: 0px">
                    <div class="col-xs-12 col-sm-8"  style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class="left-label">详细地址</label>
                        <input type="text" name="sDetailedAddress" must="true" class="form-control input-lg"  >
                    </div>
                    <div class="col-xs-6 col-sm-4"  style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class="left-label">学段</label>
                        <select type="text" class="form-control input-sm" name="iStage" id="iStage" >
                            {% for id,text in stage %}
                                <option value="{{ id }}" {% if id == 2 %} selected {% endif %}>{{ text }}</option>
                            {% endfor %}
                        </select>
                    </div>

                </div><!-- /form-group -->
                <div class="form-group" style="margin-left:10px;margin-bottom: 0px">
                    <div class="col-xs-12 col-sm-8"  style="display: inline;padding: 15px 0px 0px 0px;">
                        <label class="left-label" >备注</label>
                        <textarea type="text" name="mDesc"  class="form-control input-lg"  rows="2"  ></textarea>
                    </div>

                </div><!-- /form-group -->

                <div  style="width: 220px;margin-bottom: 10px;margin-left:70px;margin-top: 10px; ">
                    <a id="save" class="btn btn-sm btn-success" style="margin-left: 20px">保存</a>
                    <a id="reset" class="btn btn-sm btn-default" style="margin-left: 5px">重置</a>
                    <a id="return" class="btn btn-sm btn-default" style="margin-left: 5px">返回</a>
                </div>

            </form>
        </div>
    </div><!-- ./smart-widget-inner -->
</div><!-- ./smart-widget -->



